package day0715;

public class Test3 {
    public static void main(String[] args) {
        int result=  add(3,4);
        System.out.println(result);//7

        int a=3;
        int b=getM(a);
        System.out.println(b);//6
    }

    static int getM(int a) {
        a = a*2;
        System.out.println(a);//6
        return a;
    }

    private static int add(int i, int i1) {
        return i+i1;
    }
}
